package r21310.chap04.d1002;

public class phone {
    private int quantity;
    private String brand;
    private float size;
    private double price;
    private String Memory;

    public phone(int quantity, String brand, float size, double price, String Memory) {
        this.quantity = quantity;
        this.brand = brand;
        this.size = size;
        this.price = price;
        this.Memory = Memory;
    }

    public int getQuantity() {
        return this.quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getMemory() {
        return this.Memory;
    }

    public void setMemory(String memory) {
        this.Memory = memory;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public float getSize() {
        return this.size;
    }

    public void setSize(float size) {
        this.size = size;
    }

    public String getBrand() {
        return this.brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}

